package cn.sso.app.client.example.services;

import cn.ifloat.brick.basic.common.results.PageRequester;
import cn.ifloat.brick.basic.common.results.PageResult;
import cn.ifloat.brick.sprofile.mybatis.common.BasicService;
import cn.sso.app.client.example.domain.Project;
import cn.sso.app.client.example.vo.ProjectVo;
import com.baomidou.mybatisplus.core.conditions.Wrapper;

import java.util.List;

/**
 * @author: float 2023/1/12 09:52
 */
public interface ProjectService extends BasicService<Project> {


    void exampleConsole();

    Wrapper<ProjectVo> builderByVo(ProjectVo vo);

    Wrapper<Project> builder(Project bean);


    ProjectVo getById(Long id);

    List<ProjectVo> listVo(Project vo);

    PageResult<ProjectVo> pagerVo(PageRequester<ProjectVo> requester);

    Project saver(Project vo);

    boolean saverOrUpdater(Project project);
}
